package com.zut.blocks.base.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;


/**
 * @author lxd
 * @date 2020/12/1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "`group`")
@Entity
public class Group  {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Integer id;

    @Temporal(TemporalType.TIMESTAMP)
    protected Date createTime;

    private Integer courseId;
    private String groupName;

}
